import { inject, observer } from 'mobx-react';
import { WeaTools, WeaProgress, WeaDialog, WeaNewScroll } from 'ecCom';
import { Button } from 'antd';
import BaseList from '../BaseList';
import * as Bctt from '../../constants/BaseListConstant';
import { WeaLocaleProvider } from 'ecCom';

const getLabel = WeaLocaleProvider.getLabel;

@inject('contractReportDetailStore')
@observer
class ReportDetail extends BaseList {
  getStore() {
    return this.props.contractReportDetailStore;
  }
}

export default WeaTools.tryCatch(React, props => <WeaErrorPage ecId={`${this && this.props && this.props.ecId || ''}_WeaErrorPage@0wobk4`} msg={props.error ? props.error : getLabel(129417, '服务器运行出错，请联系系统管理员！')} />, { error: '' })(ReportDetail);
